package org.example.server.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.dto.DepartmentDTO;
import org.example.dto.DoctorDTO;
import org.example.dto.ScheNumDTO;
import org.example.dto.ScheduleDTO;
import org.example.entity.Department;
import org.example.entity.DoctorInfo;
import org.example.entity.ScheNumInfo;

import java.util.List;

@Mapper
public interface DepartmentMapper {
    List<Department> select(String hospitalNo);

//    Department selectByPa(String parentDeptCode);

    Department selectByCode(DoctorDTO doctorDTO);
    Department selectByCode(ScheduleDTO scheduleDTO);
    Department selectByCode(ScheNumInfo scheNumInfo);
    Department selectByCode(ScheNumDTO scheNumDTO);


}
